package com.acrm.client.entity.global;

import java.io.Serializable;

/*
 * 多功能属性盛放者
 * 当盛放staff时：text装StaffName，value装StaffID,code装ACCESS_LEVEL
 * 当盛放team时：text装team_name，value装teamID,code装null
 * 当盛放account时：text装ACName，value装ACID,code装null
 */
public class SelectItem implements Serializable{

	private static final long serialVersionUID = 7551294974427906497L;
	private String text;
	private String value;
	private String code;

	public SelectItem() {
		super();
	}

	public SelectItem(String text, String value) {
		super();
		this.text = text;
		this.value = value;
	}

	public String getText() {
		return this.text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getValue() {
		return this.value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	
	@Override
	public String toString() {
		return text;
	}
}
